/*
 * TestSgiSatelliteControl_ut.h
 *
 *  Created on: 28/5/2012
 *      Author: Santiago Carmona Meco
 */


#ifndef __INTEGRATIONTEST_IT_H_
#define __INTEGRATIONTEST_IT_H_


#include <public/ut_base.h>
#include <public/basic_types.h>




class Demo_SaF_it:public CUTBase
{
	friend class CUTManager;

public:
	Demo_SaF_it(const char *id, bool_t priority = false, bool_t setSeed = false, int32_t seed = 0);
	bool_t DoTest(void);
	virtual ~Demo_SaF_it();

};




void build_frame_bidireccional (char *p_datosLeidos, int bytesLeidos,byte_t *frameFinal);





void image_to_frames_bidireccional ();


void images_to_multi_tc_packets(void);

void image_to_frames_bidireccional_desc();

void images_to_one_tc_packets(void);
void images_to_one_tm_packets(void);

void images_to_sen_tc_packets(void);
void images_to_sen_tm_packets(void);



void join_multi_tc_files();
void join_multi_tm_files();


void	get_multi_tc_files(int32_t numeroFichero,byte_t *mensaje);
void	get_multi_tm_files(int32_t numeroFichero,byte_t *mensaje);

void join_one_tc_files();
void join_one_tm_files();


void	get_one_tc_files(int32_t numeroFichero,byte_t *mensaje);
void	get_one_tm_files(int32_t numeroFichero,byte_t *mensaje);


bool_t  check_multi_tc_files();
bool_t  check_multi_tm_files();

bool_t  check_one_tc_files();
bool_t  check_one_tm_files();




#endif /* __INTEGRATIONTEST_IT_H_ */
